import 'package:pull_to_refresh_flutter3/pull_to_refresh_flutter3.dart';

extension RefreshController_ on RefreshController {
  void finish(bool isAdd) {
    if (isAdd)
      loadComplete();
    else
      refreshCompleted();
  }
}
